
import React from "react"
// svg
import { ReactComponent as CircuitSvg } from '../../assets/svg/minZuCunHengDong.svg';
import { $homePageSvgComponentPropsInterface } from "../../interface";
import HomePage_SvgComponent from ".";

// 主页-民族村横洞svg组件
const HomePage_MinZuCunHengDongSvgComponent: React.FC<$homePageSvgComponentPropsInterface> = (props) => {
    const width = 2800
    const height = 1130
    const cardList = [
        {
            name: "高压母线",
            top: 35,
            left: 429,
            key: "",
        },
        {
            name: "低压母线-左",
            top: 145,
            left:169,
            key: "",
        },
        {
            name: "变压器1-左",
            top: 92,
            left:552,
            key: "",
        },
        {
            name: "变压器1-右",
            top: 148,
            left: 1044,
            key: "",
        },
        {
            name: "主供电源进线",
            top: 148,
            left: 1171,
            key: "",
        },
        {
            name: "备用电源进线",
            top: 148,
            left: 1304,
            key: "",
        },
        {
            name: "计量柜",
            top: 148,
            left: 1476,
            key: "",
        },
        {
            name: "PT柜",
            top: 148,
            left: 1609,
            key: "",
            unit:"kV",
        },
        {
            name: "变压器2-左",
            top: 148,
            left: 1719,
            key: "",
        },
        {
            name: "变压器2-右",
            top: 92,
            left: 2106,
            key: "",
        },
        {
            name: "低压母线-右",
            top: 145,
            left: 2651,
            key: "",
        },
        {
            name: "左洞基本照明1-1-左",
            top: 269,
            left: 120,
            key: "",
        },
        {
            name: "左洞基本照明2-1-左",
            top: 269,
            left: 238,
            key: "",
        },
        {
            name: "左洞基本照明3-1-左",
            top: 269,
            left: 357,
            key: "",
        },
        {
            name: "左洞基本照明4-1-左",
            top: 269,
            left: 476,
            key: "",
        },
         {
            name: "左洞基本照明5-1-左",
            top: 269,
            left: 595,
            key: "",
        },
        {
            name: "左洞基本照明6-1-左",
            top: 269,
            left: 714,
            key: "",
        },
        {
            name: "左洞基本照明7-1-左",
            top: 269,
            left: 833,
            key: "",
        },
        {
            name: "备用1-1-左",
            top: 269,
            left: 952,
            key: "",
        },
        {
            name: "备用2-1-左",
            top: 269,
            left: 1071,
            key: "",
        },
        {
            name: "备用3-1-左",
            top: 269,
            left: 1190,
            key: "",
        },
        {
            name: "电容补偿-左",
            top: 269,
            left: 1309,
            key: "",
        },
        {
            name: "母联柜",
            top: 269,
            left: 1502,
            key: "",
        },
        {
            name: "电容补偿+有源滤波-1-右",
            top: 269,
            left: 1618,
            key: "",
        },
        {
            name: "通风风机1",
            top: 269,
            left: 1736,
            key: "",
        },
        {
            name: "通风风机2",
            top: 269,
            left: 1854,
            key: "",
        },
        {
            name: "通风风机3",
            top: 269,
            left: 1972,
            key: "",
        },
        {
            name: "排烟风机1",
            top: 269,
            left: 2090,
            key: "",
        },
        {
            name: "排烟风机2",
            top: 269,
            left: 2208,
            key: "",
        },
        {
            name: "排烟风机3",
            top: 269,
            left: 2326,
            key: "",
        },
        {
            name: "排烟风机4",
            top: 269,
            left: 2444,
            key: "",
        },
        {
            name: "备用1-1-右",
            top: 269,
            left: 2562,
            key: "",
        },
        {
            name: "备用2-1-右",
            top: 269,
            left: 2680,
            key: "",
        },
        {
            name: "左洞出口加强照明-2-左",
            top: 494,
            left: 238,
            key: "",
        },
        {
            name: "右洞入口加强照明1-2-左",
            top: 494,
            left: 357,
            key: "",
        },
        {
            name: "右洞入口加强照明2-2-左",
            top: 494,
            left: 476,
            key: "",
        },
        {
            name: "右洞过渡加强照明1-2-左",
            top: 494,
            left: 595,
            key: "",
        },
        {
            name: "右洞基本照明1-2-左",
            top: 494,
            left: 714,
            key: "",
        },
        {
            name: "右洞基本照明1-2-左",
            top: 494,
            left: 833,
            key: "",
        },
        {
            name: "右洞基本照明2-2-左",
            top: 494,
            left: 952,
            key: "",
        },
        {
            name: "备用1-2-左",
            top: 494,
            left: 1071,
            key: "",
        },
        {
            name: "备用2-2-左",
            top: 494,
            left: 1190,
            key: "",
        },
        {
            name: "排烟风机",
            top: 494,
            left: 1618,
            key: "",
        },
        {
            name: "备用1-2-右",
            top: 494,
            left: 1736,
            key: "",
        },
        {
            name: "备用2-2-右",
            top: 494,
            left: 1854,
            key: "",
        },
        {
            name: "备用3-2-右",
            top: 494,
            left: 1972,
            key: "",
        },
        {
            name: "备用4-2-右",
            top: 494,
            left: 2090,
            key: "",
        },
        {
            name: "备用5-2-右",
            top: 494,
            left: 2208,
            key: "",
        },
        {
            name: "备用6-2-右",
            top: 494,
            left: 2326,
            key: "",
        },
        {
            name: "备用7-2-右",
            top: 494,
            left: 2444,
            key: "",
        },
        {
            name: "备用8-2-右",
            top: 494,
            left: 2562,
            key: "",
        },
        {
            name: "右洞基本照明1-3-左",
            top: 709,
            left: 238,
            key: "",
        },
        {
            name: "右洞基本照明2-3-左",
            top: 709,
            left: 357,
            key: "",
        },
        {
            name: "右洞基本照明3-3-左",
            top: 709,
            left: 476,
            key: "",
        },
        {
            name: "右洞基本照明4-3-左",
            top: 709,
            left: 595,
            key: "",
        },
        {
            name: "消防（备）-3-左",
            top: 709,
            left: 714,
            key: "",
        },
        {
            name: "UPS-3-左",
            top: 709,
            left: 833,
            key: "",
        },
        {
            name: "备用1-3-左",
            top: 709,
            left: 952,
            key: "",
        },
        {
            name: "备用2-3-左",
            top: 709,
            left: 1071,
            key: "",
        },
        {
            name: "左洞应急照明1-3-右",
            top: 709,
            left: 1577,
            key: "",
        },
        {
            name: "左洞应急照明2-3-右",
            top: 709,
            left: 1695,
            key: "",
        },
        {
            name: "左洞应急照明3-3-右",
            top: 709,
            left: 1813,
            key: "",
        },
        {
            name: "右洞应急照明1-3-右",
            top: 709,
            left: 1931,
            key: "",
        },
        {
            name: "右洞应急照明2-3-右",
            top: 709,
            left: 2049,
            key: "",
        },
        {
            name: "右洞应急照明3-3-右",
            top: 709,
            left: 2167,
            key: "",
        },
        {
            name: "右洞应急照明4-3-右",
            top: 709,
            left: 2285,
            key: "",
        },
        {
            name: "备用1-3-右",
            top: 709,
            left: 2403,
            key: "",
        },
        {
            name: "备用2-3-右",
            top: 709,
            left: 2521,
            key: "",
        },
        {
            name: "备用3-3-右",
            top: 709,
            left: 2639,
            key: "",
        },
        {
            name: "右洞基本照明",
            top: 934,
            left: 238,
            key: "",
        },
        {
            name: "引道照明",
            top: 934,
            left: 357,
            key: "",
        },
        {
            name: "消防（备）-4-左",
            top: 934,
            left: 476,
            key: "",
        },
        {
            name: "UPS-4-左",
            top: 934,
            left: 595,
            key: "",
        },
        {
            name: "变电所用电",
            top: 934,
            left: 714,
            key: "",
        },
        {
            name: "左检修插座",
            top: 934,
            left: 833,
            key: "",
        },
        {
            name: "右检修插座",
            top: 934,
            left: 952,
            key: "",
        },
        {
            name: "备用1-4-左",
            top: 934,
            left: 1071,
            key: "",
        },
        {
            name: "EPS回路",
            top: 934,
            left: 1190,
            key: "",
        },
        {
            name: "右洞应急照明1-4-右",
            top: 934,
            left: 1577,
            key: "",
        },
        {
            name: "右洞应急照明2-4-右",
            top: 934,
            left: 1695,
            key: "",
        },
        {
            name: "右洞应急照明3-4-右",
            top: 934,
            left: 1813,
            key: "",
        },
        {
            name: "右洞应急照明4-4-右",
            top: 934,
            left: 1931,
            key: "",
        },
        {
            name: "右洞应急照明5-4-右",
            top: 934,
            left: 2049,
            key: "",
        },
        {
            name: "备用1-4-右",
            top: 934,
            left: 2167,
            key: "",
        },
        {
            name: "备用2-4-右",
            top: 934,
            left: 2285,
            key: "",
        },
        {
            name: "备用3-4-右",
            top: 934,
            left: 2403,
            key: "",
        },
        {
            name: "车行横洞配电箱1",
            top: 934,
            left: 2521,
            key: "",
        },
        {
            name: "车行横洞配电箱2",
            top: 934,
            left: 2639,
            key: "",
        },
    ]
    const rowGeneratrixList = ["高压母线", "低压母线-左", "低压母线-右"]
    const row14List = ["变压器1-左", "变压器2-右"]

    const dialogBoxList = [
        {
            name: "变压器1",
            top: 148,
            left: 626,
            key: "",
            direction: "Up"
        },
        {
            name: "主供电源进线",
            top: 70,
            left: 1098,
            key: "",
            direction: "Down"
        },
        {
            name: "备用电源进线",
            top: 155,
            left: 1228,
            key: "",
            direction: "Up"
        },
        {
            name: "变压器2",
            top: 148,
            left: 1976,
            key: "",
            direction: "Up"
        },
        {
            name: "左洞基本照明1-1-左",
            top: 378,
            left: 107,
            key: "",
            direction: "Up"
        },
        {
            name: "左洞基本照明2-1-左",
            top: 301,
            left: 227,
            key: "",
            direction: "Down"
        },
        {
            name: "左洞基本照明3-1-左",
            top: 378,
            left: 344,
            key: "",
            direction: "Up"
        },
        {
            name: "左洞基本照明4-1-左",
            top: 301,
            left: 463,
            key: "",
            direction: "Down"
        },
         {
            name: "左洞基本照明5-1-左",
            top: 378,
            left: 580,
            key: "",
            direction: "Up"
        },
        {
            name: "左洞基本照明6-1-左",
            top: 301,
            left: 699,
            key: "",
            direction: "Down"
        },
        {
            name: "左洞基本照明7-1-左",
            top: 378,
            left: 812,
            key: "",
            direction: "Up"
        },
        {
            name: "备用1-1-左",
            top: 301,
            left: 935,
            key: "",
            direction: "Down"
        },
        {
            name: "备用2-1-左",
            top: 378,
            left: 1052,
            key: "",
            direction: "Up"
        },
        {
            name: "备用3-1-左",
            top: 301,
            left: 1171,
            key: "",
            direction: "Down"
        },
        {
            name: "电容补偿-左",
            top: 378,
            left: 1287,
            key: "",
            direction: "Up"
        },
        {
            name: "母联柜",
            top: 301,
            left: 1487,
            key: "",
            direction: "Down"
        },
        {
            name: "电容补偿+有源滤波-1-右",
            top: 378,
            left: 1604,
            key: "",
            direction: "Up"
        },
        {
            name: "通风风机1",
            top: 301,
            left: 1723,
            key: "",
            direction: "Down"
        },
        {
            name: "通风风机2",
            top: 378,
            left: 1840,
            key: "",
            direction: "Up"
        },
        {
            name: "通风风机3",
            top: 301,
            left: 1959,
            key: "",
            direction: "Down"
        },
        {
            name: "排烟风机1",
            top: 378,
            left: 2077,
            key: "",
            direction: "Up"
        },
        {
            name: "排烟风机2",
            top: 301,
            left: 2196,
            key: "",
            direction: "Down"
        },
        {
            name: "排烟风机3",
            top: 378,
            left: 2302,
            key: "",
            direction: "Up"
        },
        {
            name: "排烟风机4",
            top: 301,
            left: 2431,
            key: "",
            direction: "Down"
        },
        {
            name: "备用1-1-右",
            top: 378,
            left: 2549,
            key: "",
            direction: "Up"
        },
        {
            name: "备用2-1-右",
            top: 301,
            left: 2668,
            key: "",
            direction: "Down"
        },
        {
            name: "左洞出口加强照明-2-左",
            top: 522,
            left: 227,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞入口加强照明1-2-左",
            top: 599,
            left: 344,
            key: "",
            direction: "Up"
        },
        {
            name: "右洞入口加强照明2-2-左",
            top: 522,
            left: 463,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞过渡加强照明1-2-左",
            top: 599,
            left: 580,
            key: "",
            direction: "Up"
        },
        {
            name: "右洞过渡加强照明2-2-左",
            top: 522,
            left: 699,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞基本照明1-2-左",
            top: 599,
            left: 812,
            key: "",
            direction: "Up"
        },
        {
            name: "右洞基本照明2-2-左",
            top: 522,
            left: 935,
            key: "",
            direction: "Down"
        },
        {
            name: "备用1-2-左",
            top: 599,
            left: 1031,
            key: "",
            direction: "Up"
        },
        {
            name: "备用2-2-左",
            top: 522,
            left: 1171,
            key: "",
            direction: "Down"
        },
        {
            name: "排烟风机",
            top: 522,
            left: 1604,
            key: "",
            direction: "Down"
        },
        {
            name: "备用1-2-右",
            top: 599,
            left: 1723,
            key: "",
            direction: "Up"
        },
        {
            name: "备用2-2-右",
            top: 522,
            left: 1840,
            key: "",
            direction: "Down"
        },
        {
            name: "备用3-2-右",
            top: 599,
            left: 1959,
            key: "",
            direction: "Up"
        },
        {
            name: "备用4-2-右",
            top: 522,
            left: 2077,
            key: "",
            direction: "Down"
        },
        {
            name: "备用5-2-右",
            top: 599,
            left: 2196,
            key: "",
            direction: "Up"
        },
        {
            name: "备用6-2-右",
            top: 522,
            left: 2302,
            key: "",
            direction: "Down"
        },
        {
            name: "备用7-2-右",
            top: 599,
            left: 2431,
            key: "",
            direction: "Up"
        },
        {
            name: "备用8-2-右",
            top: 522,
            left: 2549,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞基本照明1-3-左",
            top: 743,
            left: 227,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞基本照明2-3-左",
            top: 820,
            left: 344,
            key: "",
            direction: "Up"
        },
        {
            name: "右洞基本照明3-3-左",
            top: 743,
            left: 463,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞基本照明4-3-左",
            top: 820,
            left: 580,
            key: "",
            direction: "Up"
        },
        {
            name: "消防（备）-3-左",
            top: 743,
            left: 699,
            key: "",
            direction: "Down"
        },
        {
            name: "UPS-3-左",
            top: 820,
            left: 812,
            key: "",
            direction: "Up"
        },
        {
            name: "备用1-3-左",
            top: 743,
            left: 935,
            key: "",
            direction: "Down"
        },
        {
            name: "备用2-3-左",
            top: 820,
            left: 1053,
            key: "",
            direction: "Up"
        },
        {
            name: "左洞应急照明1-3-右",
            top: 743,
            left: 1562,
            key: "",
            direction: "Down"
        },
        {
            name: "左洞应急照明2-3-右",
            top: 820,
            left: 1679,
            key: "",
            direction: "Up"
        },
        {
            name: "左洞应急照明3-3-右",
            top: 743,
            left: 1799,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞应急照明1-3-右",
            top: 820,
            left: 1916,
            key: "",
            direction: "Up"
        },
        {
            name: "右洞应急照明2-3-右",
            top: 743,
            left: 2035,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞应急照明3-3-右",
            top: 820,
            left: 2152,
            key: "",
            direction: "Up"
        },
        {
            name: "右洞应急照明4-3-右",
            top: 743,
            left: 2270,
            key: "",
            direction: "Down"
        },
        {
            name: "备用1-3-右",
            top: 820,
            left: 2387,
            key: "",
            direction: "Up"
        },
        {
            name: "备用2-3-右",
            top: 743,
            left: 2503,
            key: "",
            direction: "Down"
        },
        {
            name: "备用3-3-右",
            top: 820,
            left: 2623,
            key: "",
            direction: "Up"
        },
        {
            name: "右洞基本照明",
            top: 962,
            left: 227,
            key: "",
            direction: "Down"
        },
        {
            name: "引道照明",
            top: 1039,
            left: 344,
            key: "",
            direction: "Up"
        },
        {
            name: "消防（备）-4-左",
            top: 962,
            left: 463,
            key: "",
            direction: "Down"
        },
        {
            name: "UPS-4-左",
            top: 1039,
            left: 580,
            key: "",
            direction: "Up"
        },
        {
            name: "变电所用电",
            top: 962,
            left: 699,
            key: "",
            direction: "Down"
        },
        {
            name: "左检修插座",
            top: 1039,
            left: 812,
            key: "",
            direction: "Up"
        },
        {
            name: "右检修插座",
            top: 962,
            left: 935,
            key: "",
            direction: "Down"
        },
        {
            name: "备用1-4-左",
            top: 1039,
            left: 1053,
            key: "",
            direction: "Up"
        },
        {
            name: "EPS回路",
            top: 962,
            left: 1171,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞应急照明1-4-右",
            top: 962,
            left: 1562,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞应急照明2-4-右",
            top: 1039,
            left: 1679,
            key: "",
            direction: "Up"
        },
        {
            name: "右洞应急照明3-4-右",
            top: 962,
            left: 1799,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞应急照明4-4-右",
            top: 1039,
            left: 1916,
            key: "",
            direction: "Up"
        },
        {
            name: "右洞应急照明5-4-右",
            top: 962,
            left: 2035,
            key: "",
            direction: "Down"
        },
        {
            name: "备用1-4-右",
            top: 1039,
            left: 2152,
            key: "",
            direction: "Up"
        },
        {
            name: "备用2-4-右",
            top: 962,
            left: 2270,
            key: "",
            direction: "Down"
        },
        {
            name: "备用3-4-右",
            top: 1039,
            left: 2387,
            key: "",
            direction: "Up"
        },
        {
            name: "车行横洞配电箱1",
            top: 962,
            left: 2503,
            key: "",
            direction: "Down"
        },
        {
            name: "车行横洞配电箱2",
            top: 1039,
            left: 2623,
            key: "",
            direction: "Up"
        },
    ]
    return (
        <HomePage_SvgComponent initWidth={width} initHeight={height} pageName={props.pageName} scaleValue={props.scaleValue} isSwitch={props.isSwitch} Svg={CircuitSvg} cardList={cardList} rowGeneratrixList={rowGeneratrixList} row14List={row14List} initDialogBoxList={dialogBoxList} sourceList={props.sourceList}/>
    )
}

export default HomePage_MinZuCunHengDongSvgComponent
